Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kinder: make sure worker nodes also get a patches dir created #2706

Merged

Conversation

neolit123
Copy link
Member

@neolit123 neolit123 commented Jun 8, 2022

During join of worker nodes kinder always passes to kubeadm
JoinConfiguration that has a Patches.Directory.

If the directory does not exist kubeadm will error out.
Always create the directory for worker nodes.
This was already done for the "init" node and for "join" control
plane nodes.

fixes failing tests such as:
https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-latest

xref #1682

During join of worker nodes kinder always passes to kubeadm
JoinConfiguration that has a Patches.Directory.

If the directory does not exist kubeadm will error out.
Always create the directory for worker nodes.
This was already done for the "init" node and for "join" control
plane nodes.
@neolit123 neolit123 added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. area/kinder Issues to track work in the kinder tool labels Jun 8, 2022
@neolit123 neolit123 added this to the v1.25 milestone Jun 8, 2022
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 8, 2022
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 8, 2022
@neolit123
Copy link
Member Author

cc @RA489 @pacoxu

will self-LGTM this one. tested it locally and it works.

@neolit123 neolit123 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 8, 2022
@RA489
Copy link
Contributor

RA489 commented Jun 8, 2022

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: neolit123, RA489

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit ec81658 into kubernetes:main Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/kinder Issues to track work in the kinder tool cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants